/**
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package cn.edu.thu.laud.objectstore.index;

/**
 * CollectionCFSet contains the names of the four column families needed to
 * implement indexed collections. Default CF names are provided, but can be
 * anything that makes sense for the application.
 * @author zhuoan
 */
public  class IndexMeta {


	public static final String DEFAULT_ITEM_CF = "item";
	// maybe empty meaning that all items are in the container
	public static final String DEFAULT_CONTAINER = "container";
	public static final String DEFAULT_ITEM_INDEX_ENTRIES = "item_index_entries";
	public static final String DEFAULT_CONTAINER_INDEX_CF = "item_index";
	
	private String item = DEFAULT_ITEM_CF;
	private String items = DEFAULT_CONTAINER;
	private String index = DEFAULT_CONTAINER_INDEX_CF;
	private String entries = DEFAULT_ITEM_INDEX_ENTRIES;
	
	
	private String pageMeta;

	public IndexMeta() {
	}

	public IndexMeta(String item, String items, String index, String entries) {
		this.item = item;
		this.items = items;
		this.index = index;
		this.entries = entries;
		
	}
	
	
	public String getPageMeta() {
		return pageMeta;
	}

	public void setPageMeta(String pageMeta) {
		this.pageMeta = pageMeta;
	}

	public String getItem() {
		return item;
	}

	public void setItem(String item) {
		this.item = item;
	}

	public String getItems() {
		return items;
	}

	public void setItems(String items) {
		this.items = items;
	}

	public String getIndex() {
		return index;
	}

	public void setIndex(String index) {
		this.index = index;
	}

	public String getEntries() {
		return entries;
	}

	public void setEntries(String entries) {
		this.entries = entries;
	}
}

